projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91c3edb
)
Silence a compiler warning
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 29 Sep 2020 02:12:31 +0000
(22:12 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 29 Sep 2020 11:04:07 +0000
(07:04 -0400)
These variables are not used anymore since
commit
11e4a4696713bc
.
gtk/gtkeventcontrollerscroll.c
patch
|
blob
|
history
diff --git
a/gtk/gtkeventcontrollerscroll.c
b/gtk/gtkeventcontrollerscroll.c
index 8b67f4ca914a30e440d1d003874baf3eb5a1a627..261d8bd21e3117b3b2dc0617429fca343f9b3120 100644
(file)
--- a/
gtk/gtkeventcontrollerscroll.c
+++ b/
gtk/gtkeventcontrollerscroll.c
@@
-258,9
+258,6
@@
gtk_event_controller_scroll_handle_event (GtkEventController *controller,
direction = gdk_scroll_event_get_direction (event);
if (direction == GDK_SCROLL_SMOOTH)
{
- GdkDevice *device = gdk_event_get_device (event);
- GdkInputSource input_source = gdk_device_get_source (device);
-
gdk_scroll_event_get_deltas (event, &dx, &dy);
if (!scroll->active)